export function getHttp(params,status,title,data,isEach) {
    const { data: res } =  this.$http.get(
        params
      );
      if (res.meta.status !== status) {
        return this.$message.error(title);
      }
      if(isEach) {
        res.data.forEach(item => {
            item.attr_vals =
              item.attr_vals.length === 0 ? [] : item.attr_vals.split(" ");
          });
      }
      data = res.data;
}